import { Battle } from "./Battle"
import { Buff } from "./Buff"
import { Character } from "./Character"

export interface EffectDataSet {
  description: string
  name: string,
  func:(this:{character: Character, buff:Buff, effect: Effect, battle: Battle},timing:string,para)=> Promise<void>
}

interface EffectData {
  id: number
  timing: string
  hide?: boolean
}
interface Effect extends EffectData {
  effect: EffectDataSet
}